home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
SCRIPT.PAK
/
MENUHOOK.SPP
< prev
next >
Wrap
Text File
|
1997-05-06
|
976b
|
32 lines
//----------------------------------------------------------------------------
// cScript
// (C) Copyright 1987, 1997 by Borland International, All Rights Reserved
//
// MENUHOOK.SPP
// Utility methods for adding scripted menu choices
//
// $Revision: 1.5 $
//
//----------------------------------------------------------------------------
import "MENUHOOK.DLL" {
int i_assign_to_view_menu( char *,char *, char *, char *);
int i_release_view_menu_item(char *,char * );
int i_define_button( char *, char *, char *, char *, int );
}
assign_to_view_menu( view, menu_text, script_text, hint_text )
{
i_assign_to_view_menu( view, menu_text, script_text, hint_text );
}
remove_view_menu_item( view, menu_text )
{
i_release_view_menu_item( view, menu_text );
}
define_button( button_name, script_text, hint_text, tooltip_text, button_index)
{
i_define_button( button_name, script_text, hint_text, tooltip_text, button_index);
}